package io.gitee.duxiuhuan.mailbox.service.inter;

import io.gitee.duxiuhuan.mailbox.database.entries.MessageInfo;

import java.util.List;

public interface MessageManager {
    
    List<MessageInfo> selectMessage(String tableName, MessageInfo messageInfo);
    
    Boolean insertMessages(String tableName, List<MessageInfo> messageInfoList);
    
    Boolean deleteMessageById(String tableName, Long id);
}
